Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get core compiling with OCaml 5.0 #156

Merged
merged 2 commits into from
Oct 13, 2022

Conversation

anuragsoni
Copy link

I haven't tested this extensively, but this diff got core 0.15 compiling for both ocaml 5, and ocaml 4.x. I wasn't sure how to best handle the api changes for Ephemeron so I've re-exported the stdlib module for now. This is a breaking change compared to 0.15, but this module wasn't available in prior core releases from what I can tell, and I couldn't find references to it at-least in the open-source libraries published within the janestreet GitHub org.

core/src/md5_stubs.c Outdated Show resolved Hide resolved
@anuragsoni anuragsoni force-pushed the conditional-compilation-for-500-4-14 branch from f934a5c to 23e609f Compare October 6, 2022 11:29
@anuragsoni anuragsoni force-pushed the conditional-compilation-for-500-4-14 branch from cbdd604 to 2e350ea Compare October 7, 2022 02:26
@tov
Copy link

tov commented Oct 13, 2022

This doesn't compile for me on either 4.14.0 or 5.0.0~alpha1. Any idea why?

@kit-ty-kate
Copy link

@tov what kind of error do you get? I just tried and everything compiled just fine for me. Are you sure you have all the janestreet libraries at their v0.15 version?

@tov
Copy link

tov commented Oct 13, 2022

I have it working now.

@tov tov merged commit 7ebf718 into janestreet:v0.15 Oct 13, 2022
@anuragsoni anuragsoni deleted the conditional-compilation-for-500-4-14 branch October 14, 2022 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants